package com.sure.supermarketserver.stock.manage;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sure.supermarketserver.common.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Goods extends PageParam {
    private String g_name;
    private String g_type;
    private String g_supplier;
    private Float g_price;
    private String g_num;
    private String g_ca_id;
    private String g_branch;
    private String g_id;
    private Integer g_discount;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date g_imtime;


    public Date getG_imtime() {
        return g_imtime;
    }

    public void setG_imtime(Date g_imtime) {
        this.g_imtime = g_imtime;
    }

    public Integer getG_remark() {
        return g_remark;
    }

    public void setG_remark(Integer g_remark) {
        this.g_remark = g_remark;
    }

    private Integer g_remark;
    private boolean g_exec;

    public boolean isG_exec() {
        return g_exec;
    }

    public void setG_exec(boolean g_exec) {
        this.g_exec = g_exec;
    }



    public Integer getG_discount() {
        return g_discount;
    }

    public void setG_discount(Integer g_discount) {
        this.g_discount = g_discount;
    }

    public String getG_id() {
        return g_id;
    }

    public void setG_id(String g_id) {
        this.g_id = g_id;
    }



    public String getG_ca_id() {
        return g_ca_id;
    }

    public void setG_ca_id(String g_ca_id) {
        this.g_ca_id = g_ca_id;
    }

    public Float getG_price() {
        return g_price;
    }

    public void setG_price(Float g_price) {
        this.g_price = g_price;
    }

    public String getG_num() {
        return g_num;
    }

    public void setG_num(String g_num) {
        this.g_num = g_num;
    }

    public String getG_name() {
        return g_name;
    }

    public void setG_name(String g_name) {
        this.g_name = g_name;
    }

    public String getG_type() {
        return g_type;
    }

    public void setG_type(String g_type) {
        this.g_type = g_type;
    }

    public String getG_supplier() {
        return g_supplier;
    }

    public void setG_supplier(String g_supplier) {
        this.g_supplier = g_supplier;
    }

    public String getG_branch() {
        return g_branch;
    }

    public void setG_branch(String g_branch) {
        this.g_branch = g_branch;
    }


}
